package felix.rule.service.actors.chain;

import felix.actor.core.msg.TActorMsg;
import felix.actor.core.msg.TMsgType;
import felix.rule.api.TContext;
import felix.rule.data.msg.EngineMsg;
import felix.rule.data.msg.MessageType;
import lombok.Data;

@Data
final class RuleChainToRuleNodeMsg implements TActorMsg {

    private final TContext ctx;
    private final EngineMsg msg;
    private final String fromRelationType;

    @Override
    public TMsgType getMsgType() {
        return MessageType.RULE_CHAIN_TO_RULE_MSG;
    }
}
